<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>修改主轴放行</title>
    <style>
        .box {
            display: flex;
            /*修改主轴方向 垂直方向 ;侧轴自动闭环到水平方向*/
            flex-direction: column;
            /*主轴在垂直方向 ,视觉效果:垂直居中*/
            justify-content: center;
            /*侧轴在水平,视觉效果:水平居中*/
            align-items: center;
            width: 100px;
            height: 100px;
            background-color: pink;
        }
        img {
            width: 32px;
            height: 32px;
        }
    </style>
</head>
<body>
<div class="box">
    <img src="图片/OIP-C.jpg" alt="">
    <span>媒体</span>
</div>
</body>
</html>
